<%@ page import="org.chenmin.Log" %>



<div class="fieldcontain ${hasErrors(bean: logInstance, field: 'cate', 'error')} required">
	<label for="cate">
		<g:message code="log.cate.label" default="Cate" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="cate" name="cate.id" from="${org.chenmin.Cate.list()}" optionKey="id" required="" value="${logInstance?.cate?.id}" class="many-to-one"/>
</div>

<div class="fieldcontain ${hasErrors(bean: logInstance, field: 'except', 'error')} ">
	<label for="except">
		<g:message code="log.except.label" default="Except" />
		
	</label>
	<g:textField name="except" value="${logInstance?.except}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: logInstance, field: 'info', 'error')} ">
	<label for="info">
		<g:message code="log.info.label" default="Info" />
		
	</label>
	<g:textField name="info" value="${logInstance?.info}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: logInstance, field: 'time', 'error')} required">
	<label for="time">
		<g:message code="log.time.label" default="Time" />
		<span class="required-indicator">*</span>
	</label>
	<g:datePicker name="time" precision="day"  value="${logInstance?.time}"  />
</div>

